<!DOCTYPE html>

<html>
	<head>
		<meta charset="UTF-8"/>
		
		<title>TY Poker</title>
		
		<script src="scripts/jquery.js"></script>
		<script>
			$(document).ready(function () {
				if (localStorage['typokerChatCounter']) {
					var n = localStorage['typokerChatCounter'];
					for (i = 0; i < n; i++) {
						$('#chat').append(localStorage['typokerChat' + i] + "<br>");
					}
				} else {
					$('#chat').text("No chat history!");
				}
			});
		</script>
	</head>
	
	<body>
		<div id="chat">
		</div>
	</body>
</html>